package com.bicycle.rentalsystem.pojo.admin;

/**
 * 自行车实体类
 * 根据数据库所需更改
 * 更改后补全get、set。toString方法
 */
public class Bicycle {

    private Integer bid;
    private String number;//编号
    private String type;//类型
    private String bname;//名称
    private String rent;//租金
    private String status;//状态（租赁）
    private Integer ssid;
    private String stationName;//所在站点
    private String holder;

    public String getHolder() {
        return holder;
    }

    public void setHolder(String holder) {
        this.holder = holder;
    }

    @Override
    public String toString() {
        return "Bicycle{" +
                "bid=" + bid +
                ", number='" + number + '\'' +
                ", type='" + type + '\'' +
                ", bname='" + bname + '\'' +
                ", rent='" + rent + '\'' +
                ", status='" + status + '\'' +
                ", ssid=" + ssid +
                ", stationName='" + stationName + '\'' +
                '}';
    }

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname;
    }

    public String getRent() {
        return rent;
    }

    public void setRent(String rent) {
        this.rent = rent;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getSsid() {
        return ssid;
    }

    public void setSsid(Integer ssid) {
        this.ssid = ssid;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public Bicycle() {
    }

    public Bicycle(Integer bid, String number, String type, String bname, String rent, String status, Integer ssid, String stationName) {
        this.bid = bid;
        this.number = number;
        this.type = type;
        this.bname = bname;
        this.rent = rent;
        this.status = status;
        this.ssid = ssid;
        this.stationName = stationName;
    }
}